﻿namespace GoodAdmin.System;

/// <summary>
/// 系统职位表
/// </summary>
[SugarTable(tableName: "Sys_Position", "系统职位表")]
public class SysPosition:BaseEntity
{
    /// <summary>
    /// 职位编码
    /// </summary>
    //[SugarColumn(ColumnDescription = "职位编码", Length = 64)]
    //public virtual string Code { get; set; }
    /// <summary>
    /// 职位名称
    /// </summary>
    [SugarColumn(ColumnDescription = "职位名称",Length = 64)]
    public virtual string Name { get; set; }
    /// <summary>
    /// 备注
    /// </summary>
    [SugarColumn(ColumnDescription = "备注" ,IsNullable =true, Length = 512)]
    [MaxLength(640)]
    public string Remark { get; set; }
    /// <summary>
    /// 排序码
    /// </summary>
    [SugarColumn(ColumnDescription = "排序码", IsNullable = true)]
    public int? SortCode { get; set; }
    /// <summary>
    /// 分类
    /// 取自字典职位类型
    /// </summary>
    [SugarColumn(ColumnDescription = "分类",Length =32)]
    public virtual string Category { get; set; }
}